<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改用户</title>
</head>
<body>
<form th:action="@{/user/update}" method="post">
<input type="hidden" name="userId" th:field="${user.userId}" />
用户姓名：<input type="text" autocomplete="off" name="name" th:field="${user.name}"/><br/>
用户年龄：<input type="text" autocomplete="off" name="age" th:field="${user.age}" /><br/>
<input type="submit" value=" 确定 "/><br/>
</form>
</body>
</html>